fix(ci): 关闭 ACR 不兼容的构建证明 - #787
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
Auto Deploy Docker在阿里云 ACR 推送多架构镜像时失败的问题linux/amd64与linux/arm64/v8镜像发布能力核心变动
.github/workflows/maven_build_2.1x.yml:关闭docker/build-push-action自动生成的 provenance attestation37e47ed78 fix(ci): 关闭 ACR 不兼容的构建证明2.12设计与测试目标
v0.36.1/ BuildKitv0.32.2后生成的 attestation 被 ACR 拒绝;已用相邻失败 run 和此前成功 run 验证该变化轴测试结果
ruby -e 'require "yaml"; YAML.load_file(".github/workflows/maven_build_2.1x.yml")'actionlint -ignore 'actions/cache@v3' -ignore 'SC2086' .github/workflows/maven_build_2.1x.ymlactions/cache@v3、SC2086),与本次改动无关v0.36.1/ BuildKitv0.32.2下于 manifest 推送阶段报unknown manifest class for application/vnd.oci.empty.v1+json;相邻 run 32321969057 同样失败;成功 run 31561748038 使用 Buildxv0.35.0/ BuildKitv0.31.2文档同步情况
风险与说明
2.10、2.11、2.12分支共用的 Docker 发布 workflowprovenance: false配置或回滚提交37e47ed78